﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

using Aden.Model.Stock;

namespace Aden.DAL.StockData
{
    public class DailyConsumption : Stockout
    {
        private StockDataFactory wofactory = new StockDataFactory();
        public DailyConsumption(string appGuid, string costCenterCode, string orderDate, string createUser)
            :base(appGuid,costCenterCode, "DailyConsumption", orderDate, createUser) {}


        public override Dictionary<string, object> ShowComponents()
        {
            Dictionary<string, object> dic = new Dictionary<string, object>();
           
            dic["Item"] = new Dictionary<string, object>() { { "change", false } };
            dic["ItemDesc"] = new Dictionary<string, object>() { { "visible", false } };
            dic["Price"] = new Dictionary<string, object>() { { "visible", false }, { "change", false } };
            dic["QrderQty"] = new Dictionary<string, object>() { { "visible", false } };
            dic["StockQty"] = new Dictionary<string, object>() { { "visible", true } };
            dic["ToCostCenter"] = new Dictionary<string, object>() { { "visible", false } };
            dic["BusinessType"] = new Dictionary<string, object>() { { "visible", false }, { "change", false } };
            dic["InQty"] = new Dictionary<string, object>() { { "visible", false } };
            dic["Remark"] = new Dictionary<string, object>() { { "visible", true }, { "change", true } };
            return dic;
        }
    }
}